//api

var mongoose = require('mongoose');

var  apischema=new mongoose.Schema({
    apiListId: String,
    fileId: String,
    name:String,//简单描述
    note:String,//api解释
    type:Number,
    url:String,
    description:String,
    body:[{
        param: String,
        value: String,
        description:String,
        dataType:String
    }],
    params:[],
    header:[],
    createTime:Date,
    updateTime:Date
});

mongoose.model('Api',apischema);
